import csv

with open('csv_test.csv', 'r', encoding='utf-8') as f:
    # print(f.readlines())
    cf = csv.reader(f)
    head = next(cf)  # 获取表头
    print(head)
    ages = []
    for i in cf:
        ages.append(int(i[1]))
    print(sum(ages) / len(ages))
